package School;

class home_room_Teacher extends teacher {
    private String home_Room;

    // 构造器
    public home_room_Teacher(String name, String sf, String home_Address, int age, String id, String phone_Number, String subject, String home_Room,String workPlace,String work_Class) {
        super(name, sf, home_Address, age, id, phone_Number, subject,workPlace,work_Class);
        this.home_Room = home_Room;
    }

    public String show_Info() {
       return super.show_Info() + ", 我执教于" + home_Room + "班级";
    }

    @Override
    public String toString() {
        return super.toString()+" 是 "+home_Room+" 班级的班主任老师";
    }
}